home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
DESKLIBC
/
SOURCES.ZIP
/
DeskLib
/
!DLSources
/
Libraries
/
Window
/
c
/
ToFront
< prev
next >
Wrap
Text File
|
1995-07-08
|
1KB
|
30 lines
/*
#### # # # #
# # # # # The FreeWare C library for
# # ## ### # # # # ### RISC OS machines
# # # # # # # # # # # ___________________________________
# # #### ### ## # # # #
# # # # # # # # # # Please refer to the accompanying
#### ### #### # # ##### # ### documentation for conditions of use
________________________________________________________________________
File: Window.ToFront.c
Author: Copyright © 1992 Jason Williams
Version: 1.00 (19 Mar 1992)
Purpose: High-level window management functions: Bring window to front
*/
#include "DeskLib:WimpSWIs.h"
#include "DeskLib:Window.h"
extern void Window_BringToFront(window_handle window)
/* Pulls the window to the front of the window stack */
{
window_state wstate;
Wimp_GetWindowState(window, &wstate);
wstate.openblock.behind = -1;
Wimp_OpenWindow(&wstate.openblock);
}